ngx.req.read_body()

local args, err = ngx.req.get_uri_args()

local http = require "http"
local httpc = http:new()

local res, err = httpc:request_uri(
  "http://localhost/mysql",
  {
    method='GET',
    body="haha"
  }
)

if 200 ~= res.status then
  ngx.exit(res.status)
end

ngx.say(res.body)